package cn.edu.sgu.www.mhxysy.dto.potency;

import cn.edu.sgu.www.mhxysy.consts.CustomMessages;
import cn.edu.sgu.www.mhxysy.dto.DataTransferObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@ApiModel
public class PotencyFruitMoveDTO implements DataTransferObject {

    /**
     * 移动的潜能果ID
     */
    @NotNull(message = "移动的潜能果" + CustomMessages.ID_NOT_NULL)
    @ApiModelProperty(value = "移动的潜能果ID", required = true)
    private Integer orignId;

    /**
     * 目标潜能果ID
     */
    @ApiModelProperty(value = "目标潜能果ID")
    private Integer targetId;

    /**
     * 移动位置
     */
    @NotNull(message = "移动位置" + CustomMessages.NOT_NULL)
    @ApiModelProperty(value = "移动位置", required = true)
    private Integer location;
}